package com.droid.lib.controls.widget.calendardialog;

import android.content.Context;
import android.util.AttributeSet;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityNodeInfo;
import android.widget.Button;
import android.widget.LinearLayout;
/**
 * 标题类
 * @author Administrator
 *
 */
public class AccessibleLinearLayout extends LinearLayout {
	public AccessibleLinearLayout(Context context) {
		super(context);
	}

	public AccessibleLinearLayout(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	@Override
	public void onInitializeAccessibilityEvent(AccessibilityEvent event) {
		super.onInitializeAccessibilityEvent(event);
		event.setClassName(Button.class.getName());
	}

	@Override
	public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
		super.onInitializeAccessibilityNodeInfo(info);
		info.setClassName(Button.class.getName());
	}
}
